update API specification