Update database configuration.