Mongoose the MongoDB ORM has a versioning feature that makes sure you don't override a stored JSON with an older version of it [full explenation](https://aaronheckmann.blogspot.com/2012/06/mongoose-v3-part-1-versioning.html ) It's a bit like git you can't push an update if you are working on an old version of the document