Affiliates - how to add 'referred by' after signup

Hi, I'm looking to ramp up my affiliate programme and have been asked by members what happens if they refer a new member in person or over the phone.

In the user list there is a field called 'referred by'. How can you update this field manually to add the person who referred the new user in this case?