Update the graph lines.