update multiprocessing scripts
make progress bar reasonable for multi-processing mode