update NSURLConnectionDataDelegate