add conditional logic that sets status to open if a match that previously ended is updated time greater than now