Update the function file