Update upload.php