Editing the layout