getting rid of code that automatically updates index on update