update for categories