I find the update algorithm has bugs. When I add routing updates, the program encounters errors. I tried but do not know how to fix it.