create edit user interface