edit page fully functional