inject guid update in calculating query workload