Update market.cpp