updated tempdga python module