modify db connection