Update set.cpp