fixes bug restricting the new category/subcategory attributes from updating