default void onUpdated(final Collection<T> data, final Collection<T> before) {
        publish(new BatchChangedEvent(data, before, EventTypeEnum.UPDATE, SessionUtil.visitorName()));
    }
on data updated.

@param data   data
@param before before data
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/AdminDataModelChangedEventPublisher.java