Update ChartController.cs