add more api
update api to fix compile error