refactor ds saves into method in DigitalObject