updated mongoose version to 3.8.x