Update connection state check