update the scan way in upsertexecutor.cpp