Update Logic.cpp