update directory structures