renameParticipants function

Renames a list of participants