private function check_update() {
        // skontroluje ci bola zmena strany
        if ($this->typ == "old" || $this->typ == "jquery") {
            if (Iterator::$use_session) {
                if (isset($_REQUEST["ITER_" . $this->id . "_PAGE"])) {
                    \AsyncWeb\Storage\Session::set("ITER_" . $this->id . "_PAGE", $_REQUEST["ITER_" . $this->id . "_PAGE"]);
                }
            } else {
                if (isset($_REQUEST["ITER_" . $this->id . "_PAGE"])) $this->page = $_REQUEST["ITER_" . $this->id . "_PAGE"];
            }
        } elseif ($this->typ == "redir") {
            $adr = $_SERVER['REQUEST_URI'];
            $adra = explode("/", $adr);
            $this->page = $adra[$this->redir_c];
        }
    }