fix edit center/groups

Keith,

my previous commit had introduced an issue in editing center/group, corrected it.

Thanks
Nayan Ambali