edit db connection