Update worker to track current state.