Update file with -1 for average