first version of edit page