update chart.js