Cannot update Ionic or Cordova

After reading this article from Ionic (http://blog.ionic.io/help-us-test-the-super-starter/) I have not been able to update my Ionic or Cordova version to work with the new starter app. What’s more, running this broken update has now broken my Ionic installation and is preventing me from working on any existing Ionic projects.

This is the command line command that I ran:
npm install -g ionic

The output that it gave me is as follows:

Try npm remove -g ionic then npm install -g ionic again.

You may also need to do a npm cache clean after the npm remove -g ionic

Thanks @iampersistent, I uninstalled Ionic, cleared npm cache and then reinstalled and this has worked perfectly! Thanks for your help.