   addSynonym_ : (tag, callback) ->
     @addSynonym tag, (err) =>
       return callback err if err
-      @update $set: status :'synonym', (err) =>
+      @update { $set: { status :'synonym' } }, (err) =>
         return callback err if err
         @constructor.emit 'TagIsSynonym', this
         callback null

      existingTagIds = []
      daisy queue = [
        ->
          fin = (i) -> if i is tagRefs.length-1 then queue.next()
          tagRefs.forEach (tagRef, i) ->
            if tagRef?.$suggest?
              { group } = client.context

    success: (client, formData, callback) ->
      { delegate } = client.connection
      if delegate.checkFlag ['super-admin', 'editor']
        modifiedTag = { slug: formData.slug.trim(), _id: { $ne: @getId() } }
        JTag.one modifiedTag, (err, tag) =>
          if tag
            callback new KodingError 'Slug already exists!'
          else
            @update { $set: formData }, (err) ->
              return callback err if err
              callback null
      else
