update to delete dialogue