How do I write the changes made to a dataset into a new Table?