Security improvements with blockchain in ML