update head and events