I am trying to update one field in my firebase db from Javascript. The code that I used is:
var config = {
apiKey: "xxxxxxxxxxxxxxx",
authDomain: "yyyyyyyyy",
databaseURL: "https://yuyuyu.firebaseio.com/",
projectId: "demo1233xyz",
};
firebase.initializeApp(config);
var database = firebase.database();
database.ref("-UserTable/-LGDHSJSKSIUSN178").update({ verified: false });
But this creates a new entry in the firebase instead of updating the same record. Please find below a sample screenshot.
Can somebody help me to understand how to update an existing field in the table through Javascript.

.trimany whitespace from your variables