Property setter for Dataset

Do you need to update your Datasetduring an epoch or would it be sufficient to update it after each one?
In the latter case, have a look at this example.