clean up api.rst
Add more changes