title: Get updated User from Firebase Authentication
body: <p>I'm currently working with Firebase. At the moment I'm using <code>com.google.firebase:firebase-auth:10.0.1</code></p>
  
  <p>Creating a user, Sign-In works like a charm.</p>
  
  <p>Now I want to add an option for the user where it's possible for the user to change his/her displayName and profileImage</p>
  
  <p>In Activity A I call this method, by clicking a button: </p>
  
  <pre><code>   public void updateFirebaseUser(String newDisplayName, Uri newPhotoUri) {
        final FirebaseAuth auth = FirebaseAuth.getInstance();
        final FirebaseUser user = auth.getCurrentUser();
        if (user == null || (TextUtils.isEmpty(newDisplayName) &amp;&amp; newPhotoUri == null)) {
           return;
        }
        UserProfileChangeRequest.Builder builder = new UserProfileChangeRequest.Builder();
  
        if (!TextUtils.isEmpty(newDisplayName)) {
           builder.setDisplayName(newDisplayName);
        }
        if (newPhotoUri != null) {
           builder.setPhotoUri(newPhotoUri);
        }
        UserProfileChangeRequest request = builder.build();
        user.updateProfile(request)
              .addOnCompleteListener(new OnCompleteListener&lt;Void&gt;() {
                 @Override
                 public void onComplete(@NonNull Task&lt;Void&gt; task) {
                    Toast.makeText(context, "profile update success = " + task.isSuccessful(),
                          Toast.LENGTH_SHORT)
                          .show();
                 }
              });
     }
  </code></pre>
  
  <p>Everything seems to work, because I receive the Toast on my screen, which shows <code>"profile update success = true"</code></p>
  
  <p>Later in the app I want to display the user info, I call <code>fillUserViews()</code> in Activity B. <strong>But still my old information is displayed.</strong> </p>
  
  <pre><code>   private void fillUserViews(NavigationView navigationView) {
        View headerView = navigationView.getHeaderView(0);
        FirebaseAuth auth = FirebaseAuth.getInstance();
        FirebaseUser user = auth.getCurrentUser();
  
        ImageView avatarVIew = (ImageView) headerView.findViewById(R.id.img_avatar);
        picasso.load(user.getPhotoUrl())
              .into(avatarVIew);
  
        TextView userName = (TextView) headerView.findViewById(R.id.txt_name);
        userName.setText(user.getDisplayName());
  
        TextView userMail = (TextView) headerView.findViewById(R.id.txt_mail);
        userMail.setText(user.getEmail());
     }
  </code></pre>
  
  <p>Also restarting the app doesn't help here. But if I logout and re-login again my user data is updated. </p>
  
  <p>I think this has something to do with the Firebase internal caching. That's why I added this line <code>auth.getCurrentUser().reload();</code> after showing the the toast.</p>
  
  <p>Is there a possibility to force the update-request to Firebase? I found nothing in the documentation.</p>
  
  <p>Thanks in advance!</p>