remove usage of update library in phpunit