Update chart-data.php