Updating chart.js