Update logic to use date for IDs