Update Endpoints.cs