update api doc (squash to first commit)