I have done this several times, in order to get benefits as united gold.
Some agents were able to swap my TK number for United, and some couldn't do it or they didn't know how to. in those cases, I asked them to remove FL number from the reservation and I added on the United site. Worked like a charm.