update chart format