update reference file