update directory paths