Handle changing the root to a different value