Adding delete to the index