new index.
Add update and delete method for index.