modify index list