Corrected updateEvent