update ex root directory.