Updated mongoose to latest version