Is that possible to change the root type after done the transactions as well

What is the safest method to achive this?