updated ecdsa