<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_configuration(self, configuration):
 """ Updates the metrics configuration with the new values. Overwrites the existing configuration. Args: configuration (dict):
 Dictionary with a list of objects which contain frequency, sample interval, and source type for each resource-type. Returns: dict: The current configuration for which metrics are being relayed. """

        return self._client.update(configuration, uri=self.URI + "/configuration")