code: function(ref, item) {
            var priority = item['.priority'];
            delete item['.priority'];
            ref.setWithPriority(item, priority);
            return item;
          }
docs: Special case if '.priority' was updated - a merge is not allowed so we'll have to do a full setWithPriority.