update binary parsing for protocol changes