update c++ of multiply-strings