Expose function to flush all change events