Update tool.java