editing and adding pages