update directory manage