update https direct handler