update dashboard piechart