Update database configuration