update for model and model item