Updates the response of generate part.