Add version to dmp query