Change the config for database