modify db connect