sync state