protected function update($appServer)
    {
        $query = "UPDATE oxconfig SET oxvarvalue=ENCODE( ?, ?) WHERE oxvarname = ? and oxshopid = ?";

        $parameter = [
            $this->convertAppServerToConfigOption($appServer),
            $this->config->getConfigParam('sConfigKey'),
            self::CONFIG_NAME_FOR_SERVER_INFO.$appServer->getId(),
            $this->config->getBaseShopId()
        ];

        $this->database->execute($query, $parameter);
    }