update setting in cordova