def METHOD_NAME(self, instance: CourseLiveConfiguration, data: dict) -> CourseLiveConfiguration:
    """
    Adds data to courseLiveConfiguration model instance
    """
    instance.course_key = self.context.get('course_id')
    instance.enabled = self.validated_data.get('enabled', False)
    instance.free_tier = self.validated_data.get('free_tier', False)
    if provider := self.context.get('provider'):
        instance.provider_type = provider.id
    else:
        raise serializers.ValidationError(
            f'Provider type {data.get("provider_type")} does not exist')
    return instance