update fields for hashing