Updated to version 2

Updated the plugin from version 1.4 to version 2.