update API endpoint spec