Update FunctionCollection.cs