Update functions file.