Update BoW algorithm-related codes

1) message to clients
2) ROI-related message