Update Logic.java