Added threat level id-s for the event table to the upgrade script