Update mergefun.py