update port info for network trace