Update Functions.cpp