modified create and update methods from CollectionDAO