test edit of index.