As mongodb throws errors when an update operation ($set, $push, etc...) has no fields, `update()` function should follow the spec.