Update RemoteAdapter.php