update to support new derv generation method