Update Functions.cs