updated mongoose config