Correct order for updateParams

The fix introduced by cf610f5 caused following issue: after submitting
invalid value, it was not possible to update it