updated process latency query