update download.php