update category topic count if topic is deleted/restored