update the ipython example