<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_volume(self, data):
 """Update volume."""

        self._client['config']['volume'] = data['volume']
        _LOGGER.info('updated volume on %s', self.friendly_name)
        self._server.group(self.group.identifier).callback()
        self.callback()