cordova platform auto update and manual uodate