general layout update