Updates directory structure