fix UpdateType class for array index 0
PHP 5.2: no anonymous functions