Need help editing Transmission's config file

Hi all,

Just getting a bit confused about how to edit Transmission’s settings.json file. I’m attempting to set up Sonarr to send torrents to Transmission, and then have Transmission save the downloaded files to some network storage. Some settings of Transmission require me to edit the settings file as the options are not in the webUI.

Two questions:
[]Where is the correct config file to edit for Transmission?
[
]How do I edit it without losing the settings on reboot? A lot of tutorials say transmission must be closed or reloaded for this to work but it’s a bit unclear how to do this.

solved it myself. Have to kill Transmission-Daemon before editing. Back up the file before editing. Finally, it’s not in the default location.