edit page now working