Here is the form to update the address with the Franchise Tax Board: https://www.ftb.ca.gov/forms/2020/2020-3533-b.pdf
https://www.ftb.ca.gov/help/contact/how-do-i-change-my-address.html
Here is the form to change the address with the IRS: https://www.irs.gov/pub/irs-pdf/f8822.pdf