sync to current state