add progress-fn for make-index