Update "update chart" functionality".