<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_ride( self, ride_id, end_latitude=None, end_longitude=None, end_place_id=None, ):
 """Update an ongoing ride's destination. To specify a new dropoff location, you can either use a latitude/longitude pair or place ID (but not both). Params ride_id (str) The unique ID of the Ride Request. end_latitude (float) The latitude component of a end location. end_longitude (float) The longitude component of a end location. end_place_id (str) The final or destination place ID. This is the name of an Uber saved place. Only "home" or "work" is acceptable. end_address (str) The final or destination address. end_nickname (str) The final or destination nickname label. Returns (Response) The Response with successful status_code if the ride's destination was updated. """

        args = {}
        if end_latitude is not None:
            args.update({'end_latitude': end_latitude})
        if end_longitude is not None:
            args.update({'end_longitude': end_longitude})
        if end_place_id is not None:
            args.update({'end_place_id': end_place_id})

        endpoint = 'v1.2/requests/{}'.format(ride_id)
        return self._api_call('PATCH', endpoint, args=args)