update style layout