more work on edit page