update mass.layout