update directory structure, log process id