update directory file