depends on mongoDB driver with updated findAndModify