common layout update