Update transfer.py