updating event ref