updates to graphs, paths