chart updates properly now