Update gold.cpp