Edit Purdetail and pur