deleted and replaced index