public void updateTaskDef(TaskDef taskDef) {
        Validate.notNull(taskDef, "Task definition cannot be null");
        put("metadata/taskdefs", null, taskDef);
    }
Updates an existing task definition

@param taskDef the task definition to be updated
client/src/main/java/com/netflix/conductor/client/http/MetadataClient.java