Update model + repository