updated TVec and THash samples