Update API and README.md