demo state update 6