changing db connection