Update for the bar chart to the line chart