updated trap; publish prediction events