# Parameter$update

### Parameter$<mark style="color:purple;">update</mark>(*\*, name=NULL, values=NULL, type=NULL*) → self

Updates an existing parameter

### **Parameters:**

**`name` :&#x20;*****str*** \
The new name for the parameter, if provided. Parameter names follow the same naming convention as variables — they can only contain alphanumeric characters and underscores, and cannot start with a number.

**`values` :&#x20;*****list*** \
The list of values associated with the parameter. If provided, will overwrite the parameter's previous values. Parameters cannot have more than 10,000 values.

**`type` :&#x20;*****str ("boolean"|"integer"|"float"|"string"|"date"|"dateTime"), default None***\
A string representing the parameter's type. Must be one of the standard Redivis types other than `geography`. The values specified must be compatible with the set type, otherwise an error will be throw. If `values` is provided, but no `type` is provided, the type will be inferred based on the values.

### **Returns**

**self (a** [**Parameter**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/parameter)**)**

### Examples

```r
workflow <- redivis$workflow("username.workflow_name")
workflow$parameter("my_param")$update(values=list("hello","world"))
```
