fix broken download links and update the phar