updated display of graph