Group - Change existing user's primary group

How to change existing user's primary group to www?

sudo usermod -g www [username]