Update Factor.java