fix updateHash for 1.1.7