improvements to findAndModify/db.collection.findAndModify ref