update output for modal