def METHOD_NAME(sender, configuration: CourseDiscussionConfigurationData, **kwargs):
    """
    Updates the database models for course topics and configuration when settings are updated in the course.
    Args:
        sender: Ignored
        configuration (CourseDiscussionConfigurationData): configuration data for the course
    """
    update_course_discussion_config(configuration)