update the url for the event api to align with changed api call