updating to add a default layout if none exist