update index
update api design