Update to prehash