update tagger.cpp