added delta index to update indexes when there is an update