pie chart now getting redrawn rather than updated