Update config to use MongoDB