network: update connectAction()