Added ability to have the updates be functions of the current value (so we can do things like append to an array and stuff). Also added ability to simply supply the document id
Added ability to have the updates be functions of the current value (so we can do things like append to an array and stuff). Also added ability to simply supply the document id