demo state update 4