updating styling elements