update for ural1471, lca tarjan