update plugin cordova code example
Example: cordova update not working
#uninstall first
sudo npm uninstall -g cordova
#clear npm cache
sudo npm cache clean
#re-install cordova again
sudo npm install -g cordova
#uninstall first
sudo npm uninstall -g cordova
#clear npm cache
sudo npm cache clean
#re-install cordova again
sudo npm install -g cordova