Updated hash to sha256