change config for database connection