improved app updating routines