The company is also discontinuing one of its most sugary brands.