To update your community username, click on your username in the right corner of the global header to open your user menu, and select My Settings:
On the My Settings > Personal > Username tab, you'll find your "Username" listed. Click into the field to update your username. You can use letters, numbers, dashes, or underscores, but you cannot use periods or other special characters.