Update Functions.java