modify confing for mongo