adding pie chart processing
updated pie chart