modify register_class_secue