Update expert.py