Update pluginScript