Update TPI.java File