modify directory structure.