change directory structures