update ipynb for computing all paths