commit the new layout