use PluginManager.local_modifications() in plugin update