update for model