Update Chart.java