   verifyDeprecatedToken: (token, callback=_.noop) =>
     @fetch (error, attributes) =>
       return callback error if error?
-      
+
       hashedTokens = _.pluck(attributes.tokens, 'hash') ? []
       hashedTokens.push attributes.token if attributes.token?
 


  update: (params, callback=->) =>
    params = _.cloneDeep params

    keys = _.keys(params)

    if _.all(keys, (key) -> _.startsWith key, '$')
      params['$set'] ?= {}

    ], (error) =>
      return callback error if error?
      debug 'save', @attributes
      @update $set: @attributes, callback

  set: (attributes)=>
    @attributes ?= {}
