Update configuration for database