updating styles structure