update the Connection