The performance for the TeV photon measurement of the LHCf upgraded detector using Gd2SiO5(GSO) scintillators