update api methods
Merge pull request #1 from spiderPan/api

update api methods