update modal output