cleaning up api.md