Long-term credit rating upgraded