Update the file with functions.