update app for phonegap