pastevent class update