change to findOneAndUpdate