Perbarui dan ambil catatan baru di Mongoose

//                                                         V--- THIS WAS ADDED
Cat.findOneAndUpdate({age: 17}, {$set:{name:"Naomi"}}, {new: true})
Better Badger