Update of smart contracts and testing