Update API design: update file api.md