Updated mongoose to version 3.7