update style's structure