update for Nette 2.2