Add a Subcategory in Detail Item Family

Not sure if this could be possible.
I would like to create a new sub-category in a detail item family through Dynamo. I have about 400 detail items and I want to create a standard set of sub-categories.