Update encounter.py