create edit button function