fixed updating of events