update for latest wire protocol changes