This is actually a bit unclear. What do you define as an "update"? Do you have "synchronous diplay" set? Do you consider it an "update" if you send the same data again to it?
It would make more sense to define a boolean that is lit whenever the graph data changed. Just put the graph data in a shift register and compare the current data to the data from the previous loop iteration.