Fixed delete bug and added rebuild index method