create edit interface