Thank you @givemeawhisky I tried the setFieldValues, but I found it still deleted the other fields.
What I was trying to achieve turned out to be too complicated for my skills level, so I simplified the over user-experience to avoid too much coding.
I appreciate your help.