MDL-40908 core_tag: replaced 'update' add_to_log calls with an event