finished edit change detail

finished the portion for editing the detail