update for XChart update