updated templates to use event_instances