update chart components