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

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