updates to add/edit pages