update model impl