Update connection procedure.