Update online_example.py