update the events module