Update the db connection