update recognition class