update directory location