update API
Merge pull request #95 from xboston/api-26

update API