Replaced direct findAndModify() call with mongoose findAndUpdate method