update example.py