     plugin.isUpdating = true
     @getMirrors().then ->
       new Promise (resolve) ->
-        npm.commands.update [plugin.packageName], ->
+        npm.commands.install ["#{plugins[index].packageName}@#{plugin.version}"], ->
         plugin.isUpdating = false
         resolve()
 

    @config_ =
      mirror: null
      proxy: null

    # @const
    @VALID = 0

  setUpdateInformation: ->
    @getMirrors().then =>
      @getInstalledPlugins().then =>
        Promise.all(
          @plugins.map (plugin) =>
            @getLastestVersionOfPlugin(plugin).then (distTag) ->
              version = if @config_.betaCheck && distTag.beta? then distTag.beta else distTag.latest
              plugin.lastestVersion = version
              plugin.isOutdated = semver.lt plugin.version, plugin.lastestVersion
        )

  # get the current plugins
