update to show the graph