adds categories to products