refine codes
parallelize the function update_names
remove redundancy codes
change function name