Updating template hashes.