final public function updateUserAgentsWithDeviceIDMap($userAgent, $deviceID)
    {
        if (isset($this->userAgentsWithDeviceID[$this->normalizeUserAgent($userAgent)])) {
            $this->logger->debug($this->userAgentsWithDeviceID[$this->normalizeUserAgent($userAgent)] . "\t"); //old_id
            $this->logger->debug($deviceID . "\t"); //new id
            $this->logger->debug($this->normalizeUserAgent($userAgent) . "\t\n");//normalized user agent
            //$this->logger->printMessage($userAgent . "\t");//cleaned user agent
            $this->overwritten_devices[] = $this->userAgentsWithDeviceID[$this->normalizeUserAgent($userAgent)];
        }
        $this->userAgentsWithDeviceID[$this->normalizeUserAgent($userAgent)] = $deviceID;
    }