Updated index, dectect2d with recognised and did not recognised events