Update ProtectedClient.php