Update ToolCore.java