updating mongoose, express and making respective changes