Update plugin for Cordova 2.7.0+