add response and update the log info