update the config to the valid db name