work on edit page