Added atomicUpdate() to partially update documents