update api docs.