def METHOD_NAME(self, expId, port, startTime, platform, experiment_name, endTime='N/A', status='INITIALIZED',
                   tag=[], pid=None, webuiUrl=[], logDir='', prefixUrl=None):
    '''set {key:value} pairs to self.experiment'''
    with self.lock:
        self.experiments = self.read_file()
        self.experiments[expId] = {}
        self.experiments[expId]['id'] = expId
        self.experiments[expId]['port'] = port
        self.experiments[expId]['startTime'] = startTime
        self.experiments[expId]['endTime'] = endTime
        self.experiments[expId]['status'] = status
        self.experiments[expId]['platform'] = platform
        self.experiments[expId]['experimentName'] = experiment_name
        self.experiments[expId]['tag'] = tag
        self.experiments[expId]['pid'] = pid
        self.experiments[expId]['webuiUrl'] = webuiUrl
        self.experiments[expId]['logDir'] = str(logDir)
        self.experiments[expId]['prefixUrl'] = prefixUrl
        self.write_file()