Move from_dt in update.rs to <T: GenericEvent> implementation