update for ipython