changed update for percentages