phonegap: update after staring