update to support Nette 2.1