Updated UpdateCMD.java

Code cleanup + new system out print method.