code: async def save(self):
          
          orig_owner_data = self._orig_data['owner_data']
          new_owner_data = dict(self._data['owner_data'])
          self._changed_data.pop('owner_data', None)
          await super(Machine, self).save()
          params_diff = calculate_dict_diff(orig_owner_data, new_owner_data)
          if len(params_diff) > 0:
              params_diff['system_id'] = self.system_id
              await self._handler.set_owner_data(**params_diff)
              self._data['owner_data'] = self._data['owner_data']
docs: Save the machine in MAAS.