Update API in README.