update api docs in readme