title: Update firebase users issue
body: <p>Want to update profile, started with email to get the hang off. Whenever I click on it to update the email, it adds a new UID for that email alone instead of adding it to the user profile with that UID. Really stuck now. I did have it working but cant seem to get back to it so must be an error here somewhere, thanks,
  <a href="https://i.stack.imgur.com/faExC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/faExC.png" alt="enter image description here" /></a></p>
  <pre><code>updateProfile.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          final String updateEmail = emailTextView.getText().toString();
          user.updateEmail(updateEmail).addOnSuccessListener(new OnSuccessListener&lt;Void&gt;() {
              @Override
              public void onSuccess(Void aVoid) {
                  firebaseDatabase.getReference(&quot;Users&quot;).child(user.getUid()).child(&quot;email&quot;).setValue(updateEmail);
                  Toast.makeText(getApplicationContext(), &quot;Email update&quot;, Toast.LENGTH_LONG).show();
  
              }
  
          }).addOnFailureListener(new OnFailureListener() {
              @Override
              public void onFailure(@NonNull Exception e) {
                  Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_SHORT).show();
              }
          });
      }
  });
  </code></pre>
  <p>}</p>
  <p>UPDATE</p>
  <pre><code>firebaseAuth = FirebaseAuth.getInstance();
              firebaseDatabase = FirebaseDatabase.getInstance();
              FirebaseUser firebaseUser = firebaseAuth.getCurrentUser();
  
              final String uid = firebaseUser.getUid();
  
              Log.d(TAG, &quot;USERID=&quot;+uid);
  </code></pre>
  <p>Doin this got me a UID from a completely different user! It did let me change the email for them when I did this but thats no use. Having similar issues deleting users. Is it an issue with a UID does it create a new one everytime they log in?</p>