Updated with add page to category function ch7