Function Update for each Pegasus File