Maybe I'm too thick to find an already answered question, but google remains silent on this topic.
I would like to change specific module instance name.
I came to this page http://xref-diff.mukudu-dev.net/moodle310/lib/modinfolib.php.source.html#l683 but lti tool, that I'm trying to alter, doesnt implement such methods.
Is there any generic methods to change modules instance name?
I also tried changing it by hand in DB to test and then calling rebuild_course_cache($course->id); but it didnt change it on course front page, only in settings.
Any hint would be appreciated.