updated the ipython notebook