update layouts and layout closures