other function for findByIdAndUpdate 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) {...