Update states documentation with new syntax.