Change configuration for database