update resulttype