Sub topic 8
Replace Lessons in Place
Assume you know how your platform organizes sections, lessons, quizzes, captions, and downloads. Also assume you can publish a draft, preview it as a student, and view enrollment or completion records.
Replacing a lesson in place means updating the existing lesson record instead of deleting it and creating a new one. The lesson keeps its identity, position, URL, and enrollment relationships. Students then see the corrected material without losing their course history.
Why the lesson identity matters
A course platform usually stores more than a video file. A lesson has an internal ID, a title, an order, completion records, quiz attempts, comments, and links from other course pages. Deleting the lesson can remove or disconnect these relationships.
Keep these values unchanged when the update is a patch:
- Section and lesson IDs
- Lesson order and URL
- Enrollment and completion records
- Certificate requirements
- Existing student comments, when they remain relevant
- Links from quizzes, announcements, and downloadable materials
Change only the content that needs correction. If the platform offers a “replace media” or “edit lesson” action, use it instead of “delete lesson.”
| Item | Preserve during an in-place replacement | Update when needed |
|---|---|---|
| Lesson record | ID, position, URL, completion mapping | Title or description if inaccurate |
| Video | Lesson association | Video file, captions, transcript |
| Quiz | Attempt and completion mapping | Questions, answers, explanations |
| Downloads | Existing link location when possible | Files that contain outdated information |
Use a controlled replacement workflow
1. Capture the current state
Record the lesson ID, current media URL or asset name, quiz settings, attached files, and completion behavior. Save the current assets so you can restore them if the replacement fails.
A small manifest makes the intended change explicit:
{
"lesson_id": "L-021",
"action": "replace_in_place",
"old_asset": "joins-v1.mp4",
"new_asset": "joins-v2.mp4",
"preserve": [
"lesson_id",
"section_order",
"completion_records",
"certificate_rules"
],
"update_together": [
"captions",
"transcript",
"quiz",
"download"
]
}2. Prepare the replacement
Upload the new video or audio as a draft asset. Check its duration, resolution, sound, captions, transcript, and downloadable files before attaching it to the live lesson.
If the lesson contains a quiz, compare the old and new teaching points. A changed example may require a changed question. Do not silently change a passing rule unless you have decided how existing attempts should behave.
3. Replace the content, not the record
Open the existing lesson and swap its media or text. Keep the lesson ID and order. Avoid creating a second lesson with a similar title, because students may complete the wrong copy and bookmarks may lead to different versions.
If the platform cannot replace content without resetting completion, stop and verify its documented behavior. You may need platform support or a carefully staged migration rather than a direct edit.
Verify the student record
Use a test account with three states:
- A student who has not started the lesson
- A student who completed the lesson
- A student who completed the course and received a certificate
Replace the lesson in a staging environment, then confirm that each account sees the correct content. Check whether completion, quiz attempts, course progress, and certificate status remain unchanged.
Publish only after the test confirms that the lesson still appears in the intended section and that enrolled students retain their expected status. Note the release date and replacement asset in the course changelog so future audits can identify which version a student viewed.
Exercise
Why should you replace the media attached to an existing lesson instead of deleting the lesson and creating a new one?
Show answer
The existing lesson identity connects the content to student progress, quiz history, certificates, comments, bookmarks, and course navigation. Reusing that identity reduces the risk of breaking those connections.