update tcpconnection