You must be an Admin in the room to change these settings. Direct chat details cannot be modified.
- Open the menu next to the chat name
- Click Details and Settings
- Click Edit in the Details section
- Make your changes to the name and avatar
- Click Update Details when you are finished