City’s credit rating raised