adding pages and updating content