I'm trying to implement external authentication and external enrolment for my Moodle system. So I need to update external database table every time new course in Moodle is created with course id and shortname. Maybe launch some sync script every time new course is created. Is it possible? Thank you.