Deductions & credits

So I had my original loan which started in 2019 with X company, then in early 2020 I refinanced with  Y company, then shortly after that my loan was sold to Z company and I am still at Z company. So are you saying that for X company, I should state I refinanced that loan and then for Y company put '0' in box 2 and then for Z company, put the loan amount as of 1/1/2021?