Update Logic.java

edit