generic changes detection for generator