update function

Update a TRACDS temporal structure with new state assignements