Update connection variable