MDL-40912 coursecat: replaced 'update' add_to_log call with an event
MDL-40912 coursecat: replaced 'move' add_to_log calls with an event