`updateModel` is called on the change event of the input fields, so whenever an entry is added and then edited the model has the right value.