update funcref.py