added updateGraph() and needHighlight()