Updated api.md