4.2 -> 5 is a problem. Pretty sure official docs recommend creating a new application and porting it rather than trying to perform a 4.2 -> 5 upgrade.