Pie Chart now updates with page changes automatically