Editing and Deleting functionality added.