sample modules compatible with new form status.

update sample modules to compatible with new form status.