add the config for mongo