error fixes in event update