update TestSC code