update use of deprecated method - requestWithMethod:URLString:parameters: