Consolidate logic for updating parent topic (or user.topics) to the pre-save hook