update sha512