Update API endpoint.