Reconnecting nextcloud after removing account

Hello, I recently changed the ip address of the system hosting my nextcloud instance to be a static one. I have a question:

After the ip address change I needed to reconnect to nextcloud from my client (I had made some changes to those files in the mean time, and when I try to reconnect, it tries to re-download all the files that already exist locally. And my new changes are not sent to the cloud.