update all filters to new timestep automatically in python?

hello,
I am creating a script and a lot of times while ‘advancing’ the time steps in a loop and saving data that I extract at each time step of different filters using fetch and dsa. my issue/question is:
how I update ALL existing filters to the current time step correctly?
right now i am doing this:

filterForData.UpdatePipeline(timeStep)
for FILTER in filterList:
    FILTER.UpdatePipeline(timeStep)

I am running in pvbatch.
is there a simpler way to do it (specially without needing to define a filterList)?
thanks in advance

Franco,

It’s been a while since I’ve done any ParaView scripting but I believe you should only need to call UpdatePipeline on the last filter in your pipeline and it should update all the upstream filters.