def METHOD_NAME(self, record):
    names = record.__schema__.names()
    data = {k: v for k, v in self.request.form.items() if k in names}
    bool_names = ["enabled", "load_async", "load_defer"]
    for bool_name in bool_names:
        data[bool_name] = bool_name in data
    for field_name, value in data.items():
        full_name = record.__prefix__ + field_name
        record.__registry__[full_name] = value
    self._switch_cache(False)