added category sweeper; if category changes type, then update event relationships