Update API endpoints.