I'm using Moodle version 3.8.1. I know lesson activity names are stored in mdl_lesson, but I've also seen it stored mdl_grade_items, and mdl_grade_items_history. In our Moodle instance, we wrote a script that programmatically updates the name of the lesson in the mdl_lesson table. In the course page (moodle/course/view.php) it displays the incorrect name (the name with which it was first saved as), but in modedit page (moodle/course/modedit.php), it shows it correct in the name field but not in the breadcrumbs at the top.
I'm sorry I'm not providing images. These pages were heavily edited and contains the widgets we wrote, which I believe is NDA material. Otherwise, if there's any other information I can provide please let me know. Thanks!
PS I've already cleared cache several times, although maybe I didn't clear enough of it? Any help or direction will be greatly appreciated.