Update database configuration file.