edit directory sub