Correct order for updateParams

The fix introduced by cf610f5 broke the validation/submission -
after submitting invalid value, it was not possible to update it,
as the old value was taking a precedence.

I do not know if it is optimal fix, but it does the trick.