Update a parameter input when overridden in the definition

Manipulating inputs is not allowed, see this Forum post:

Also, similar problem was discussed below and it could work for your use case: