Update upload_media.php