I had a very similar question and found the answer. Take a look, it might be helpful for You aswell: Change custom post type to hierarchical after being registered
I had a very similar question and found the answer. Take a look, it might be helpful for You aswell: Change custom post type to hierarchical after being registered