Rewrite mongo db server settings