add index
update web to use index