def METHOD_NAME(self, index, value, value_type):
    if value_type.lower() == 'q':
        self.METHOD_NAME(index, int(value & 0xFFFFFFFF), 'I')
        self.METHOD_NAME(index + 1, int(value >> 32), 'I')
    else:
        self.update_timestamps[index] = time.time()
        self.update_values[index] = value
        self.update_values_bytes[index] = pack(f'<{value_type}', value)
        self.update_mask.set_bit(index)