update an event