add update functionality to the UI, and add delete methods and incorporate into UI.