Używanie zmiennych w instrukcji aktualizacji MongoDB

Próbuję użyć zmiennej jako nazwy pola w instrukcji aktualizacji i nie działa ona wcale, jakieś sugestie?

na przykład:

COLLECTIONNAME.update(
    { _id: this._id },
    { $set: { VARIABLE1 : VARIABLE2 } }
);

aktualny kod:

 'blur .editable' : function () {
      var target = event.currentTarget.value;
      var field = event.currentTarget.name;
      field = ' " ' + field + ' " ';
      Hostings.update( { _id: this._id },{ $set: { field : target } } );
    }

questionAnswers(2)

yourAnswerToTheQuestion