Completed delete and update code. Prelim testing ok.