fixed heuristic update issue