change conection to db