updated ipython notebook
updated match_cache