update root to empty