continuously save apply state