demo state update 2