diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e175c6df7be51f49ef55987266c2792ac21d54f..437294cd9adfd157bcee2c1bf53310b5301b8d7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ that users understand how the changes affect the new version.
 
 version 5.0.0-dev
 ---------------------------
++ UMI-tools (dedup): Add tempdir
 + Update BCFTOOLS view: add options for filtering (include, exclude, excludeUncalled).
 + Duphold: add duphold.wdl.
 + Add new wdl file prepareShiny.wdl for creating input files for shiny app.
diff --git a/umi-tools.wdl b/umi-tools.wdl
index b05fcace766bcc98afd82d435fc6c2304ee446a8..db888603255a458f2baa3343756efae793f2f325 100644
--- a/umi-tools.wdl
+++ b/umi-tools.wdl
@@ -126,7 +126,7 @@ task Dedup {
         inputBam: {description: "The input BAM file.", categrory: "required"}
         inputBamIndex: {description: "The index for the ipnut BAM file.", cateogry: "required"}
         outputBamPath: {description: "The location to write the output BAM file to.", category: "required"}
-        outputBamPath: {description: "Temporary directory.", category: "advanced"}
+        tmpDir: {description: "Temporary directory.", category: "advanced"}
         paired: {description: "Whether or not the data is paired.", category: "common"}
         umiSeparator: {description: "Seperator used for UMIs in the read names.", category: "advanced"}
         statsPrefix: {description: "The prefix for the stats files.", category: "advanced"}