update response on script query