added an option to update the cache after creating or modifying a dataset.