Patch a dataset