change dependencies of mongoose