update root to '\'