updates instantiate_model to use view_id