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.
Merge pull request #54 from BartAdv/cf610f5fix

Correct order for updateParams