edit index's category