Update upload.class.php