Update piechart.js