update directory names when cd