Updating directory structures