Fixed edit pages button from create to update