improved remove_category_in_events_function
update events when category slug was changed