Update KnowledgeBase.java