def update_unit(self, unit_id, unit_dict):
        """
        Updates an unit

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

        :param unit_id: the unit id
        :param unit_dict: dict
        :return: dict