APY-31: Update the code from Ally-Py tutorial
* some comments in