Update db connection