updating PHAR