Update master layout