Update MethodLibrary.java

updates