updating latency with graph data