updated the api.md