update with phonegap