clone of indexupdate.ipynb