added arguments to delete index
added status