update gnutls and ad cls to batch