Update Functions.cc