purchase order detail updating, inserting deleting