Update remote-upload.php