Update Chart.cs