Run the following command to create a seedfile. It will dump a list of all of the devices currently in your AM(-PM) topology.
Edit the seedfile and remove ALL devices that are NOT going to have their Community changed. Make the neccessary changes to the COMMUNITY values for the remaining devices and save the seedfile.
Run the following command to have the changes take effect.