update db connect