updates to match ecdsa