Cloud computing company salesforce.com reported a smaller loss for the second quarter, driven by a 24 percent increase in revenues. Excluding items, the company posted a profit that topped Wall Street estimates. The company again lifted its outlook for 2016, sending its shares up 5 percent in after-hours trade on the New York Stock Exchange.