When I filed my taxes last year, I was to receive a refund in federal and was to owe in state. After amending my taxes, I got an additional refund from federal and no longer allowed in state. Is it all calculated properly by TurboTax? The final numbers

For example :originally Federal return 2000.  Amended return 1500. They sent two checks totaling 3500. Does that mean oh the federal government $500 or Was that calculated in to the figures of the amended taxes