title: Update child value in firebase
body: <p>My Firebase structure:</p>
  
  <pre><code> "Requests" : {
  "-KiyT2fiL8dE3jh7ccWT" : {
    "4pGOtqaTskarMnvz058UBpYbW1y2" : {
      "address" : "Street 12",
      "phone" : "05****699",
      "status" : "status",
      "subject" : "subjectText",
      "teacherName" : "nameText",
      "time_date" : "30 Apr 2017 1:46:43 p.m.",
      "uid_user" : "4pGOtqaTskarMnvz058UBpYbW1y2"
    }
  </code></pre>
  
  <p>I'm trying to update a value of child <code>" status"</code>, How to get to <code>"status"</code> in <code>rootRef</code>? 
  This my code</p>
  
  <pre><code>Acceptable.setOnClickListener(new View.OnClickListener() {
                  public void onClick(View v) {
                      Unacceptable.setEnabled(false);
                      Toast.makeText(context, " this Request has been Acceptable " , Toast.LENGTH_LONG).show();
                      rootRef = FirebaseDatabase.getInstance().getReference("Requests");
  
                       rootRef.child("Requests").child("uid").child("uid_user").orderByChild("status").addValueEventListener(new ValueEventListener() {
                           @Override
                           public void onDataChange(DataSnapshot dataSnapshot) {
  
                               final String  status = dataSnapshot.getValue(String.class);
                               System.out.println(status);
                               rootRef.child("status").setValue("Your Request has been Acceptable");
  
  
                           }
  
                           @Override
                           public void onCancelled(DatabaseError databaseError) {
  
                           }
                       });
                      Toast.makeText(context, " this Request has been Acceptable " , Toast.LENGTH_LONG).show();
                      Acceptable.setEnabled(false);
  
  
                                        }
              });
  </code></pre>