update page and delete pages working