finish edit pages