Indexes are now updated correctly

indexes are not deleted when item is deleted!