Update chart on refresh