You can just upgrade instead of updating.
new User(req.body).save();
In any case, except that req.body will have the correct data, there may be security problems depending on how your models are (GitHub has had such a problem lately).
My advice is to get only what you want from req.body and update.
var updateData = { name: req.body.name }; User.update({_id: user._id},updateData, function(err,affected) { console.log('affected rows %d', affected); });
source share