Update modeling.cpp