Updating with thrfit generated classes