update nonce handling
add more info about key and secret