fix and update in graph display