updated the new events plugin