update pointerevents