Update join.cpp