update style for .category