update py_demo