Update API.md

Thanks for your feedback.