update to findAndModify