Added update method to genDocset.