updated linegraph