Updated database config setup