During 2019 I amended 2017 return to pay taxes owed for that year, do I amend the 2018 return to show no refund in federal and state taxes?

in 2019 I amended my 2017 tax return to report the sale of stock, and ended up owing tax for both federal and state for 2017. I paid the tax owed in december 2019. In the 2018 tax return I had reported federal and state tax refunds received for 2017, but it now turns out to be net tax owed for 2017 after filing the amdendment.

Do I report the extra tax payment when I file the 2019 tax return, or do I need to amend the 2018 tax return to show that I paid extra federal and states taxes for 2017, instead of receiving refunds? (as the refunds had  increased my income for 2018).