Adding Pie chart and bar chart update