update for plugin install and plugin remove