updating for compatibility with AFNetworking 2