update root_path