update chart config