update style for categories and tags