updated the api handshake param