Change to database config