Modify add to index