pass update doc to server methods, too, in case we need to do an update on the server, like when updating multiple docs at once