edit last value in the chart