If you're trying to change the "Real Name" field in pidgin then close down pidgin.
vi ~/.purple/accounts.xml
and /silc to bring you to the silc section. Scroll down to the <userinfo> section and adjust appropriately. Save the file and reopen pidgin.