adding delete/update functionality