Update merge_duplicate.py