fixed store events in Generic modality, updated device table in sql file