Update remote.class.php