update combine.cpp