added edit form for items