Update directory templates