Fixed MongoDB connection and upgraded some libs.