Rename child and grnadchild categories to parent and child