on change plugin

plugin sample for an event only plugin