update references for events