update tcp-connections' api