Update Function.cs