refreshing directory name