Is the `if` statement necessary? If the model is null, it's not going to pass the regex in `updateTime` and just invoke `updateInput` instead