update the settings for mongo