update model's