Updated all the plugin code to 1.4.0