add index state