remake works. Note it’s an immutable struct so you can just prob.p .= to modify the values, or just remake the struct and let Julia elide the problem construction (with immutables it usually just deletes the wrapper construction if it’s a good idea)