[detect_period] update
[period_transition] add