Call repository update.
Check the model state