Update on_modified arguments in examples