Features/sesi 151 dataset update

Bugfix in updating a dataset without parent
Bugfix when creating a child dataset based on an empty parent