upgrade step for contract in tp