Update out.cpp