add content and edit layout