Update LayoutEditor.php