modify the directory