update to API Endpoint