Updating ipython notebook file