update RootPath