Mongoose tidak akan memperbarui nilai dalam array

//Maybe notify mongooose the dataset has changed like this :

doc.markModified('pathToYourAttribute') 
//From the docs http://mongoosejs.com/docs/schematypes.html

person.anything = { x: [3, 4, { y: "changed" }] }; 
person.markModified('anything');
Tarik