       callback new KodingError \
         "Machine sharing is limited up to 10 users."
     else
-      @update $set: { users }, (err)-> callback err
+      @update $set: { users }, (err)->
+        informAccounts targets, @getAt 'uid'
+        callback err
 
 
   removeUsers: (options, callback)->

    for user in targets
      users = excludeUser { users, user, permanent }

    @update $set: { users }, (err)-> callback err


  shareWith: (options, callback)->

    return newUsers


  informAccounts = (users, machineUid)->

    users.forEach (user)->
      user.fetchOwnAccount (err, account)->
        return if err or not account
        account.sendNotification 'MachineListUpdated', machineUid


  # Private Methods
  # ---------------

