update chart rendering