Pie chart updates is working