edit directory conf