active state update