add subcategories after the main categories in the 'catergories' property