modify the dir