update categories and subcategories