Simulating change events manually