Updating piechart example