first attempt of updating stacked chart