Event Id inserted into scans table