update output form query string