update root path