upgrade cryptography