def update(self, state, tnow):
        '''update the threat state'''
        self.state = state
        self.update_time = tnow
def update ( self , state , tnow ) : self . state = state self . update_time = tnow
update the threat state