                             error err if error
         @popoverManagement action
 
-    onUpdateStackClicked: ->
-        action = (cb) =>
-            @stackApplications.updateStack cb
-        @popoverManagement action
 
     onRebootStackClicked: ->
         @rebootStackBtn.spin true
         @spanRefresh.show()
         @stackApplications.rebootStack ->
             location.reload()
+

        @stackApps.fetch reset: true
        @displayDevices()
        @stackApplications = new StackApplication

    openUpdatePopover: (slug) ->
        @applicationList.openUpdatePopover slug

    displayStackVersion: =>
        for app in @stackApps.models

        @memoryFree = @$ '.memory-free'
        @diskSpace = @$ '.disk-space'
        @updateBtn = new ColorButton  @$ '.update-all'
        @rebootStackBtn = new ColorButton  @$ '.reboot-stack'
        @fetch()
        @applicationList = new ConfigApplicationList @apps, @market
