code: function setupAutoUpdate() {
          updateJsonHandler = new StateHandler(updateJsonPath);
          updateDomain.on('data', receiveMessageFromNode);
  
          updateDomain.exec('initNode', {
              messageIds: MessageIds,
              updateDir: updateDir,
              requester: domainID
          });
      }
docs: Sets up the Auto Update environment