update chart panel