code: def update_station(self, station):
          
          assert station.id is not None
          status, _ = self.http_client.put(
              NAMED_STATION_URI % str(station.id),
              params={'appid': self.API_key},
              data=dict(external_id=station.external_id, name=station.name,
                        lat=station.lat, lon=station.lon, alt=station.alt),
              headers={'Content-Type': 'application/json'})
docs: Updates the Station API record identified by the ID of the provided
          *pyowm.stationsapi30.station.Station* object with all of its fields
  
          :param station: the *pyowm.stationsapi30.station.Station* object to be updated
          :type station: *pyowm.stationsapi30.station.Station*
          :returns: `None` if update is successful, an exception otherwise