Update astar.c