findbyidandupdate new true but does not return code example
Example: findbyidandupdate return old value
Model.findByIdAndUpdate(id, updateObj, {new: true}, function(err, model) {...
Model.findByIdAndUpdate(id, updateObj, {new: true}, function(err, model) {...