updates to linegraph.