update api docs
Merge pull request #308 from ianstormtaylor/update/docs

update api docs