The "state" used to be an alias for "to" but this was deprecated to make the meaning more clear. This commit updates the examples to no longer use the deprecated name.
Corrected spelling mistake in instruction text.