This will update after each sink.. was that intentional? (i.e. will miss dependent subgraphs)
Probably better after each subgraph, so in doExecute (?)