update to cordova 3