Updated mongoose connection to fix broken build