small topological sort change and load graph update