Update chart on date change