fixed event update syntax