Dependency upgrades in chaincode