update global encrypt key