fixed updating issues (things not getting removed)

You weren't removing the ".fill_arcs" or the gradient def or legend rectangle. I added the changes to the rerender function.