updated phar and doc