updates the hmac/authentication section