update to latest dtcwt api