This is actually very difficult. The data has to be sourced from somewhere, which would be the airlines. The airlines have fragile backends that cannot handle much load. As a result, Google has to be very selective in their query volume, so they try to cache intelligently.
The result is that sometimes the information they display can be out of sync with airlines. You should notice this issue more on rarer flight routes.