Starting from Mongoose version 6.0.0, the save() method no longer accepts a callback function as a parameter