update several layout settings