adds modification on index