Updates to api.md