upload and edit pages