In update.c , the presence of the id in the id_file should be checked before adding to prevents duplicates.
In update.c , the presence of the id in the id_file should be checked before adding to prevents duplicates.