US retail giant Wal-Mart has upped its second-quarter earnings per share guidance on the back of improved sales.