Update the protocol code to handle a newer sdk.