update before the ipython