code: def update_unit(self, unit_id, unit_dict):
          
          return self._create_put_request(resource=UNITS, billomat_id=unit_id, send_data=unit_dict)
docs: Updates an unit
  
          :param unit_id: the unit id
          :param unit_dict: dict
          :return: dict