change config to connect to DB