Update Logic-2.java