update cordova-lib to 4.0.0