update doc
check if the response is none