update encrypt key