Update the directory structure