more updates for new categories permalink table support