Adding index
Updating index