update the file with GUARD