       ]
 
   @setAccount = secure (client, data, callback)->
-    console.log { arguments }
     {delegate} = client.connection
     JSession   = require '../session'
     JSession.one {clientId: client.sessionToken}, (err, session) =>


        keys    = all: Object.keys(all), cached: Object.keys(cached)
        stack   = []
        stackCb = (err)-> if err then callback err else stack.fin()

        # remove obsolete plans in mongo
        difference(keys.cached, keys.all).forEach (k)->

      all[obj[keyField]] = obj  for obj in objs

      constructor.all selector, (err, cachedObjs)->

        return callback err  if err

        cached = {}
