update for chart