def METHOD_NAME(self, instance, validated_data):
    for scope, settings in self.validated_data.items():
        if scope not in instance:
            instance[scope] = {}
        instance[scope].METHOD_NAME(settings)
    return instance