Update API.md

update :3 errors code