update style main windows