Hospital bill error in collections

I had a hospital bill with active insurance and my insurance didn’t want to pay. The bill got sent to collections and now they’re saying they will pay it. My insurance made an error due to a change in my last name, although I faxed them proof of my name change. I hope it won’t be hard to get this removed from my credit.