update StringHasher object