Update indexes at creation and selection of doc
redirect update index for now
Update docs