update for kosaraju