Recovery and update directory structure