modify subdir definition