Fixed log state update handling