update for newer Nette