     first = Object.keys(@managed)?.first
 
     if first then first else null
+
+
+  setUpdatedStack: (id) ->
+
+    debug 'set updated stack', { id }
+
+    @updatedStack = id
+    @emit 'change'
 
 
   getState: (selector = identity) ->


    @managed = {}

    @bindNotificationHandlers()
    @setStateFromStorage()
    @loadVisibilityFilters()

      leavingId: @leavingId
      invitedId: @invitedId
      managedId: @getManaged()
      updatedStackId: @updatedStack
    }


