Update ProtocolLibrary.java