update api documentation.