update connecttion.cc