update for send_key with its parameters