updated API.md