Update update-directories-index.sh