code: function heartbeat() {
        Instance.db.updateOne(
          {
            _id: instanceId
          },
          {
            $set: { lastAliveOn: new Date() }
          },
          {
            upsert: true
          }
        );
      }
docs: con sole.log('*** instanceId:', instanceId); Heartbeat