change car_model to_params to id and change related code