change how to connect to db