added feature for edit subcategory