changes connect to db