Updating clicking on a subcategory to open it