Verified Status Not Updated in Dashboard even after user have click on verification link in Custom DB environment

Our App having Custom DB setup for User Authentication , Once the User Account is Created , The System Sends verification email and upon clicking on email The Users gets Verified But the Changes are not reflected back to Auth0 Dashboard and it keeps on showing Users verification status as pending

create User Action

function create(user, callback) {
  const bcrypt = require('bcrypt');
  const MongoClient = require('mongodb@4.1.0').MongoClient;
  const client = new MongoClient(configuration.mongodbUri);

  client.connect(function (err) {
    if (err) return callback(err);

    const db = client.db('DevDB');
    const users = db.collection('users');

    users.findOne({ email: user.email }, function (err, withSameMail) {
      if (err || withSameMail) {
        client.close();
        return callback(err || new Error('the user already exists'));
      }

      bcrypt.hash(user.password, 10, function (err, hash) {
        if (err) {
          client.close();
          return callback(err);
        }

        user.password = hash;
        user.email_verified = false;
        users.insert(user, function (err, inserted) {
          client.close();

          if (err) return callback(err);
          callback(null);
        });
      });
    });
  });
}

Verify Action

function verify (email, callback) {
  const MongoClient = require('mongodb@4.1.0').MongoClient;
  const client = new MongoClient(configuration.mongodbUri);

  client.connect(function (err) {
    if (err) return callback(new Error(email,"Custom Error Message"));

    const db = client.db('DevDB');
    const users = db.collection('users');
    const query = { email: email, email_verified: false };
		
    users.update(query, { $set: { email_verified: true } }, function (err, result) {
      client.close();
			console.log(result);
      if (err) return callback(err);
      
      callback(null, result.matchedCount>0);
    },{upsert:true});
  });
}