adjust database config.