updating API.md