correctly update events