updated Mongoose to 3.8.x