@classmethod
def update(cls, plugin_path):
    """Updates the package, and updates data in API service

        :param str plugin_path: path to the plugin
        """
    plugin = cls.make_obj_by_file(plugin_path)
    name = plugin.name_from_file(plugin_path)
    version = plugin.version_from_file(plugin_path)
    plugin.update(plugin_path)
    return cls.register(name, version)
